import { createApp } from "vue";
import "./main.css";
import App from "./App.vue";
import router from "./router";
import useToast from "./components/useToast";

const app = createApp(App);

// 添加全局属性
app.config.globalProperties.$toast = useToast;

app.use(router).mount("#app");
